package Com.sct;

public class Test {

	public static void main(String[] args) {
		CPU cpu =new CPU();
		HardDisk disk =new HardDisk();
	    cpu.setSpeed(2200);
		disk.setAmount(200);
        PC pc =new PC();
        pc.setSpeed(cpu);
        pc.setAoumnt(disk);
        pc.show();
	}
}
